home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Emulators / v2600 / Source.lha / Source / extern.h < prev    next >
C/C++ Source or Header  |  1997-04-09  |  1KB  |  57 lines

  1. /*****************************************************************************
  2.  
  3.    This file is part of x2600, the Atari 2600 Emulator
  4.    ===================================================
  5.    
  6.    Copyright 1996 Alex Hornby. For contributions see the file CREDITS.
  7.  
  8.    This software is distributed under the terms of the GNU General Public
  9.    License. This is free software with ABSOLUTELY NO WARRANTY.
  10.    
  11.    See the file COPYING for details.
  12.    
  13.    $Id: extern.h,v 1.3 1996/04/01 14:51:50 alex Exp $
  14.  
  15.    Tweaked by Matthew Stroup for Amiga v2600, January 27, 1997.
  16.  
  17. ******************************************************************************/
  18.  
  19. /* 
  20.    Defines the external variables needed by most hardware access code.
  21.    */
  22.  
  23. #ifndef VCSEXTERN_H
  24. #define VCSEXTERN_H
  25.  
  26.  
  27. #include "types.h"    /* for BYTE, ADDRESS, etc. types and structures */
  28.  
  29. extern int   clength[];
  30.  
  31. /* Processor registers */
  32. extern UBYTE  accumulator;
  33. extern UBYTE  x_register;
  34. extern UBYTE  y_register;
  35. extern UBYTE  stack_pointer;
  36. extern UBYTE  status_register;
  37. extern ADDRESS program_counter;
  38. extern CLOCK clk;
  39.  
  40. /* Processor flags */
  41. extern int   zero_flag;
  42. extern int   sign_flag;
  43. extern int   overflow_flag;
  44. extern int   break_flag;
  45. extern int   decimal_flag;
  46. extern int   interrupt_flag;
  47. extern int   carry_flag;
  48.  
  49. /* Debugging */
  50. extern int   hexflg;
  51. extern int   verflg;
  52. extern int   traceflg;
  53. extern int   debugflg;
  54. extern int   runflg;
  55.  
  56. #endif
  57.